package com.atguigu.tingshu.order.adapter;


import com.atguigu.tingshu.vo.order.OrderInfoVo;
import org.springframework.stereotype.Service;

@Service
public class ZhifubaoPayWayImpl implements PayWay {

    @Override
    public void payWay(Long userId, String orderNo, OrderInfoVo orderInfoVo) {
        //支付宝的支付逻辑
    }

    @Override
    public boolean isSupport(String payWay) {
        //具体适配的逻辑
        return "1102".equals(payWay);
    }
}
